//
//  SEGUhomeMediator+SommunityBaseInfo.m
//  SEGBasicBussiness
//
//  Created by 刘山 on 2018/3/28.
//  Copyright © 2018年 刘山. All rights reserved.
//

#import "SEGUhomeMediator+SommunityBaseInfo.h"

NSString * const kTargetYellowPage = @"YellowPage";
NSString * const kActionYellowPageInitObjectAdminViewController = @"initObjectAdminViewController";

NSString * const kTargetBusinessCircle = @"NewBusinessCircle";
NSString * const kActionBusinessCircleInitBusinessCircleRootViewController = @"initBusinessCircleRootViewController";
NSString * const kActionBusinessCircleInitPrivilegeDetailViewController = @"initPrivilegeDetailViewController";


NSString * const kTargetActivity = @"Activity";
NSString * const kActionActivityInitOtherCreatActivityRootListViewController = @"initOtherCreatActivityRootListViewController";
NSString * const kActionActivityInitOtherCreateActivityDetailViewController = @"initOtherCreateActivityDetailViewController";


@implementation SEGUhomeMediator (SommunityBaseInfo)
/**
 * 初始化黄页
 * @author Helen */
-(UIViewController *)seg_initObjectAdminViewController:(NSDictionary *)params{
    return [self performTarget:kTargetYellowPage action:kActionYellowPageInitObjectAdminViewController params:params shouldCacheTarget:NO];
}

/**
 * 初始化商圈
 * @author Helen
 */
-(UIViewController *)seg_initBusinessCircleRootViewController:(NSDictionary *)params{
    return [self performTarget:kTargetBusinessCircle action:kActionBusinessCircleInitBusinessCircleRootViewController params:params shouldCacheTarget:NO];
}

/**
 * 初始化社区商圈详情
 * @author Helen
 */
-(UIViewController *)seg_initPrivilegeDetailViewController:(NSDictionary *)params{
    return [self performTarget:kTargetBusinessCircle action:kActionBusinessCircleInitPrivilegeDetailViewController params:params shouldCacheTarget:NO];
}

/**
 * 初始化活动
 * @author Helen
 */
-(UIViewController *)seg_initOtherCreatActivityRootListViewController:(NSDictionary *)params{
    return [self performTarget:kTargetActivity action:kActionActivityInitOtherCreatActivityRootListViewController params:params shouldCacheTarget:NO];
}

/**
 * 初始化活动 -- 活动详情
 * @author Helen
 */
-(UIViewController *)seg_initOtherCreateActivityDetailViewController:(NSDictionary *)params{
    return [self performTarget:kTargetActivity action:kActionActivityInitOtherCreateActivityDetailViewController params:params shouldCacheTarget:NO];
}

@end
